2018-10-05

Why is awesome!

What is R?

  • functional programming language
  • ideal for statistics and graphs
  • open source
    • transparent
    • freely available
  • over 10,000 R packages
    • Easy to install install.packages("incidence")
    • Easy to use library("incidence")



R is a language for statistics

Sensible tests are built in

t.test(extra ~ group, data = sleep)
## 
##  Welch Two Sample t-test
## 
## data:  extra by group
## t = -1.8608, df = 17.776, p-value = 0.07939
## alternative hypothesis: true difference in means is not equal to 0
## 95 percent confidence interval:
##  -3.3654832  0.2054832
## sample estimates:
## mean in group 1 mean in group 2 
##            0.75            2.33

R is